public class DessertDish extends Dish {
    private int sugarContent;

    public DessertDish(String name, String description, double price, int stock, boolean isOnShelf, int sugarContent) {
        super(name, description, price, stock, isOnShelf);
        this.sugarContent = sugarContent;
    }

    public int getSugarContent() { return sugarContent; }
}